/**
 * $Id$
 *
 * Last changed by $Author$
 * Last changed at $Date$
 */
package com.youtills.core.app.dev;

import com.youtills.core.app.common.ISiteLayout;
import com.youtills.core.app.common.SiteLayout;
import com.youtills.core.web.IRequestHandler;

/**
 * TODO
 *
 * @author Ravi Kumar Chiluveru (ravic)
 * @since 12.2, (5/19/13 11:48 AM)
 */
public class WhoAmIRequestHandler extends SiteLayout implements IRequestHandler, ISiteLayout {

    public String getMainContentPage() {
        return "/WEB-INF/jsp/dev/who-am-i.jsp";
    }

    public String getUserAgent(){
        return getContextBean().getRequest().getHeader("user-agent");
    }

}
